package com.siwen.pojo.system;

import java.util.List;

public class ModuleResult {
 private String  title;
    private String  href;
    private String icon ="&#xe66f;";
    private boolean spread= false;
    private String fontFamily;
    private boolean isCheck;

    public String getFontFamily() {
        return fontFamily;
    }

    public void setFontFamily(String fontFamily) {
        this.fontFamily = fontFamily;
    }

    public boolean isCheck() {
        return isCheck;
    }

    public void setCheck(boolean check) {
        isCheck = check;
    }

    private List<ModuleResult> children;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
        if(title.equals("控制台")){
            this.spread=true;
            this.isCheck=true;
            this.fontFamily="ok-icon";
        }
    }

    public String getHref() {
        return href;
    }

    public void setHref(String href) {
        this.href = href;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public boolean isSpread() {
        return spread;
    }

    public void setSpread(boolean spread) {
        this.spread = spread;
    }

    public List<ModuleResult> getChildren() {
        return children;
    }

    public void setChildren(List<ModuleResult> children) {
        this.children = children;
    }
}
